package com.bstek.uflo.designer.model.process;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.bstek.dorado.annotation.PropertyDef;
import com.bstek.uflo.designer.model.SwimlaneAssignee;

public class Swimlane implements Serializable {
	private static final long serialVersionUID = 1L;

	@PropertyDef(label = "泳道名称")
	private String name;
	@PropertyDef(label = "处理人类型")
	private String assignmentType;
	@PropertyDef(label = "EL表达式")
	private String expression;
	@PropertyDef(label = "指定Bean")
	private String assignmentHandlerBean;

	@PropertyDef(label = "指定参与者")
	private List<SwimlaneAssignee> swimlaneAssignees = new ArrayList<SwimlaneAssignee>();

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAssignmentType() {
		return assignmentType;
	}

	public void setAssignmentType(String assignmentType) {
		this.assignmentType = assignmentType;
	}

	public String getExpression() {
		return expression;
	}

	public void setExpression(String expression) {
		this.expression = expression;
	}

	public String getAssignmentHandlerBean() {
		return assignmentHandlerBean;
	}

	public void setAssignmentHandlerBean(String assignmentHandlerBean) {
		this.assignmentHandlerBean = assignmentHandlerBean;
	}

	public List<SwimlaneAssignee> getSwimlaneAssignees() {
		return swimlaneAssignees;
	}

	public void setSwimlaneAssignees(List<SwimlaneAssignee> swimlaneAssignees) {
		this.swimlaneAssignees = swimlaneAssignees;
	}

}
